{% include 'head.html' %}


<body>

  <div class="jd_container">
    <!-- 顶部 -->
    <div class="jd_header" style="height: 50px;background: #dce2ec;">
      <!--<span style="float: left;margin-left: -18%;margin-top: 15px;">货比三家</span>-->
      <a onclick="window.history.back();" >
        <span style="float: left;margin-left: -15%;margin-top: 8px;font-size: 28px;color: #000;">
          <i class="fa fa-chevron-left"></i>
        </span>
      </a>
      <div style="text-align:center;margin-top: 5%;">
        <span style="font-size: 18px;">下载APP</span>
      </div>
    </div>
  </div>

  <div class="jd_nav" style="background-color: #fff;">
      <div style="text-align:center;margin-top: 20%;">
        <img src="http://hbsj.xyz/h5/hbsjimg.png" style="width: 100px;height: 100px;" class="img-rounded">
        <h4>货比三家 APP下载</h4>
        <span style="color: red;">只支持安卓！</span><br>
        <span style="color: red;">不支持APP内与微信内下载；</span><br>
        <span style="color: red;">如果是在微信平台请点击“复制下载地址”在浏览器中打开下载；</span><br>
        <br>
      </div>
        <div style="text-align:center;">
          <a class="btn btn-large btn-block" style="width: 80%;margin-left: 10%;" type="button" href="/downloadapp">下载</a>
          <a class="btn btn-primary btn-large btn-block" style="width: 80%;margin-left: 10%;" type="button" onclick="copyText()">复制下载地址</a><br>
          <textarea id="input" style="width: 80%;height: 30px;">http://hbsj.xyz/downloadapp
          </textarea>
        </div>
        <!-- 内容区域 -->
        <div class="jd_mian" id="container">
          <div class="main_content" style="background-color: #edf4ff;">

          </div>
        </div> 
  </div>

<div style="margin-top: 100px;text-align:center;">
  <span>货比三家 v0.7</span><br>
  <span>2019/06/05</span>
</div>

<script type="text/javascript">

function copyText() {
   // 下载接口
   var text = "http://hbsj.xyz/downloadapp";
   var input = document.getElementById("input");
   // 修改文本框的内容
   input.value = text; 
   // 选中文本
   input.select(); 
   // 执行浏览器复制命令
   document.execCommand("copy"); 
   //alert("复制成功");
   webToast("复制成功","middle",2000);
}

</script>

{% include 'foot_sp.html' %}